package com.house.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.house.entity.Building;

public interface BuildingService {
    int save(Building building);

    Building selectBuildingById(Long buildingId);

    void updateBuildingById(Building building);

    Page<Building> selectPage(int page, int pageSize, int type, long startAreaId, long endAreaId, String buildingName);

    int delete(Long buildingId);
}
